/*
 * @Author: chululu 83503768@qq.com
 * @Date: 2025-01-14 10:08:38
 * @LastEditors: chululu 83503768@qq.com
 * @LastEditTime: 2025-01-14 10:13:28
 * @FilePath: \tumor-big-screen\src\three\material.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import * as THREE from 'three'
// 身体材质
export const bodyMaterial = new THREE.MeshBasicMaterial({
  color: 0x657fef, // 蓝色光晕
  transparent: true,
  opacity: 0.4,
  side: THREE.DoubleSide,
  depthTest: true, // 确保深度测试
  depthWrite: false, // 不写入深度缓冲区（适合透明物体）
})
// 呼吸系统材质
export const RespiratoyMaterial = new THREE.MeshBasicMaterial({
  color: 0x00ff43, // 蓝色光晕
  transparent: true,
  opacity: 0.4,
  side: THREE.DoubleSide,
  depthTest: true, // 确保深度测试
  depthWrite: false, // 不写入深度缓冲区（适合透明物体）
});

//  骨骼材质
export const SkeletalMaterial = new THREE.MeshBasicMaterial({
  color: 0x00e0ff, // 蓝色光晕
  transparent: true,
  opacity: 0.4,
  side: THREE.DoubleSide,
  depthTest: true, // 确保深度测试
  depthWrite: false, // 不写入深度缓冲区（适合透明物体）
});

// 神经系统材质
export const NervesMaterial = new THREE.MeshBasicMaterial({
  color: 0xff3fff, // 蓝色光晕
  transparent: true,
  opacity: 0.4,
  side: THREE.DoubleSide,
  depthTest: true, // 确保深度测试
});
//  胸腔材质
export const MammaryMaterial = new THREE.MeshBasicMaterial({
  color: 0xff6713, // 蓝色光晕
  transparent: true,
  opacity: 0.4,
  side: THREE.DoubleSide,
  depthTest: true, // 确保深度测试
  depthWrite: false, // 不写入深度缓冲区（适合透明物体）
});

//  胸腔材质
export const LungsMaterial = new THREE.MeshBasicMaterial({
  color: 0xff9d9b, // 蓝色光晕
  transparent: true,
  opacity: 0.4,
  side: THREE.DoubleSide,
  depthTest: true, // 确保深度测试
  depthWrite: false, // 不写入深度缓冲区（适合透明物体）
});


